package com.jxl.coreplay.net
{
	import flash.net.Responder;
	import flash.events.IEventDispatcher;
	import flash.net.NetConnection;
	
	public interface INetConnection extends IEventDispatcher
	{
		
		function addHeader(operation:String, mustUnderstand:Boolean=false, param:Object=null):void
		
		function call(command:String, responder:Responder, ...args):void;
		
		function close():void;
		
		function connect(url:String, ...args):void;
		
		function destroy():void;
		
		function get client():Object;
		function set client(value:Object):void;
		
		function get connected():Boolean;
		
		function get connectedProxyType():String;
		
		function get netConnection():NetConnection;
		
		function get objectEncoding():uint;
		function set objectEncoding(value:uint):void;
		
		function get proxyType():String;
		function set proxyType(value:String):void;
		
		function get uri():String;
		
		function get usingTLS():Boolean;
		
	}
}